package com.skeyedu.springcloud.web;

import com.skeyedu.springcloud.server.RegService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ${董荣盛}
 * @创建时间 2021/4/20
 * Description:
 */
@RestController
public class RegController {

    @Autowired
    private RegService regService;

    @RequestMapping("/reg")
    private String reg(){
        return regService.regete();
    }
}
